package main

import (
	"fmt"
	"github.com/fwhezfwhez/model_convert"
)



func main() {
	fmt.Println(model_convert.XMLToModel(`
        <xml>
            <ToUserName><![CDATA[toUser]]></ToUserName>
            <FromUserName><![CDATA[fromUser]]></FromUserName>
            <CreateTime>1348831860</CreateTime>
            <MsgType><![CDATA[text]]></MsgType>
            <Content><![CDATA[this is a test]]></Content>
            <MsgId>1234567890123456</MsgId>
        </xml>
    `, "MessageInfo"))
}
